package com.feinno.urcs.group.entity;

import com.feinno.superpojo.SuperPojo;
import com.feinno.superpojo.annotation.Field;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author Li.Hongbo <lihongbo@feinno.com>
 */
@XmlRootElement(name = "ResultInfo")
public class ResultInfo extends SuperPojo {
	@Field(id = 1)
	private int resultCode;//返回结果码
	@Field(id = 2)
	private String description;//返回结果描述

	@XmlElement(required = true)
	public int getResultCode() {
		return resultCode;
	}

	public void setResultCode(int resultCode) {
		this.resultCode = resultCode;
	}

	@XmlElement(required = true)
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
}
